package xinxin.com.FlyweightPattern.WebSite;

/**
 * @author ：史鑫鑫
 * @date ：Created in 2019/4/2 22:13
 */
public class ConcreteWebSite extends WebSite {
    private String name = "";

    public ConcreteWebSite(String name) {
        this.name = name;
    }

    @Override
    public void Use() {
        System.out.println("网站分类：" + name);
    }
}
